***** Replication code for Franchino, Fabio, and Camilla Mariotto. “Noncompliance Risk, Asymmetric Power and the Design of Enforcement of the European Economic Governance”. European Union Politics.

***** Online Appendix Section 3.2 Re-categorization of issues test (cont'ed)
* Preparation stage 1
* THIS FILE SHOULD NOT BE RUN ALONE

* Generalized structural equation model: Three-levels, Random intercepts
gsem (discr_com <- c.debt_gdp c.nbi c.nbi#c.debt_gdp i.eurozone i.crisis@0 i.cou_pres c.gov_lr c.gov_eu c.goodEU_net_6 i.comm_s M1[act] M2[act>issue_id], ologit ) ///
	 (discr_cou <- c.debt_gdp c.nbi c.nbi#c.debt_gdp i.eurozone i.crisis@0 i.cou_pres c.gov_lr c.gov_eu c.goodEU_net_6 i.comm_s M1[act] M2[act>issue_id], ologit ) ///
     (discr_nat <- c.debt_gdp                        i.eurozone i.crisis   i.cou_pres c.gov_lr c.gov_eu c.goodEU_net_6 i.comm_s M1[act] M2[act>issue_id], ologit ), vce(robust) intmethod(mcaghermite)

matrix b1=e(b)		
matrix list b1	
matrix b = b1
clear
svmat b
append using robtest_iss_FC.dta
save robtest_iss_FC.dta, replace

** Next issue
clear
version 15
pause on
use conflict_data_FC2.dta, clear

* Coding primary and secondary dimensions
gen dim_d_nat=1 if discr_nat!=.
gen dim_d_cou=1 if discr_cou!=.
gen dim_d_com=1 if discr_com!=.
label variable dim_d_nat "Primary (1) or secondary (2) dimension"
label variable dim_d_cou "Primary (1) or secondary (2) dimension"
label variable dim_d_com "Primary (1) or secondary (2) dimension"
label define dimension 1 "primary" 2 "secondary"
label values dim_d_nat dimension
label values dim_d_cou dimension
label values dim_d_com dimension
order discr_nat dim_d_nat, after(tighten)
order discr_cou dim_d_cou, after(constr_cou)
order discr_com dim_d_com, after(constr_com)
